<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="../common/baseCss.jsp"%>
<title>类别管理</title>
</head>
<body>
	<div class="page-container">
	 <div class="button-group">
			<a href="javascript:;" onclick="datadel()" class="btn btn-primary radius"> 
					<i class="iconfont marginRight6">&#xe612;</i>批量删除
				</a> 
				<a class="btn btn-primary radius" href="javascript:;" onclick="category_add_edit('添加分类','categoryAddPage','','')"> 
					<i class="iconfont marginRight6">&#xe616;</i>添加类别
				</a>
	</div>
		<div class="text-c searchWrapper">
			<select id="selectPid" class="select inputBlock">
			</select> 
			<input type="text" class="input-text inputBlock"
				placeholder="输入类别名称" id="keyword" name="keyword">
			<button type="button" class="btn mysearchbtn" id="search">
				<i class="iconfont marginRight6">&#xe665;</i>查询
			</button>
		</div> 
		<table class="table table-border table-bordered table-bg mytable">
			<thead>
				
				<tr class="text-c tableTH">
					<th width="25">
						<input type="checkbox" value="" name="">
					</th>
					<th width="100">类别名称</th>
					<th width="100">类别分类</th>
					<th width="70">操作</th>
				</tr>
			</thead>
			<tbody id="categorys" class='tableTR'>
			</tbody>
		</table>
		<div class='pageNo'>
		<span class="r">共
			<span id="dataNum"></span> 条数据
		</span> 
		<center id="page" class='myPage'></center>	
	</div>
	</div>

	<%@ include file="../common/baseJs.jsp"%>
	<script type="text/javascript" src="manager/js/plugin/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="manager/js/category/category.js"></script>
</body>
</html>